// To parse this JSON data, do
//
//     final partnerCountDataModel = partnerCountDataModelFromJson(jsonString);

import 'dart:convert';

PartnerCountDataModel partnerCountDataModelFromJson(String str) => PartnerCountDataModel.fromJson(json.decode(str));

String partnerCountDataModelToJson(PartnerCountDataModel data) => json.encode(data.toJson());

class PartnerCountDataModel {
  PartnerCountDataModel({
    this.totalIncome,
    this.withdrawalAmount,
    this.ytdIncome,
    this.recent7DaysIncome,
    this.idleNum,
    this.runningNum,
    this.totalDevNum,
  });

  num? totalIncome;
  num? withdrawalAmount;
  num? ytdIncome;
  num? recent7DaysIncome;
  num? idleNum;
  num? runningNum;
  num? totalDevNum;

  factory PartnerCountDataModel.fromJson(Map<String, dynamic> json) => PartnerCountDataModel(
        totalIncome: json["totalIncome"],
        withdrawalAmount: json["withdrawalAmount"],
        ytdIncome: json["ytdIncome"],
        recent7DaysIncome: json["recent7DaysIncome"],
        idleNum: json["idleNum"],
        runningNum: json["runningNum"],
        totalDevNum: json["totalDevNum"],
      );

  Map<String, dynamic> toJson() => {
        "totalIncome": totalIncome,
        "withdrawalAmount": withdrawalAmount,
        "ytdIncome": ytdIncome,
        "recent7DaysIncome": recent7DaysIncome,
        "idleNum": idleNum,
        "runningNum": runningNum,
        "totalDevNum": totalDevNum,
      };
}
